package com.zlf.controller;

import com.zlf.service.FeignProducerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName DemoController
 * @Description TODO
 * @Author zlf
 * @Date 2021/5/14 17:13
 */
@RestController
public class DemoController {

    @Autowired
    private FeignProducerService feignProducerService;

    @GetMapping("/foo")
    public String demo() throws Exception {
        return feignProducerService.demo();
    }

}
